package hotel.meituan.oversea.biz.mapper;

import hotel.base.oversea.repository.MyMapper;
import hotel.meituan.oversea.api.dto.MtHotelDto;
import hotel.meituan.oversea.api.entity.MtHotel;
import org.springframework.context.annotation.Primary;

import java.util.List;
import java.util.Map;

/**
 * 美团酒店主信息mapper
 * @Author qiuyy
 * @Date 2020/5/15
 * @Primary   多数据源需声明
 **/
@Primary
public interface MtHotelMapper extends MyMapper<MtHotel> {
    public int insertIgnoreBatch(List<MtHotel> list);
    public List<MtHotelDto> queryPageDto(Map<String, Integer> map);

    List<MtHotel> getHHbDownHotels(Map map);
}
